package com.platform.pojo;

import java.util.Date;

public class Message {
    private Integer id;

    private Integer messagetype;

    private Integer noticetype;

    private String messagecontent;

    private Integer messagestatus;

    private Date noticetime;

    private Date expiretime;

    private String username;

    private Date createTime;

    private Date updateTime;

    public Message(Integer id, Integer messagetype, Integer noticetype, String messagecontent, Integer messagestatus, Date noticetime, Date expiretime, String username, Date createTime, Date updateTime) {
        this.id = id;
        this.messagetype = messagetype;
        this.noticetype = noticetype;
        this.messagecontent = messagecontent;
        this.messagestatus = messagestatus;
        this.noticetime = noticetime;
        this.expiretime = expiretime;
        this.username = username;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Message() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getMessagetype() {
        return messagetype;
    }

    public void setMessagetype(Integer messagetype) {
        this.messagetype = messagetype;
    }

    public Integer getNoticetype() {
        return noticetype;
    }

    public void setNoticetype(Integer noticetype) {
        this.noticetype = noticetype;
    }

    public String getMessagecontent() {
        return messagecontent;
    }

    public void setMessagecontent(String messagecontent) {
        this.messagecontent = messagecontent == null ? null : messagecontent.trim();
    }

    public Integer getMessagestatus() {
        return messagestatus;
    }

    public void setMessagestatus(Integer messagestatus) {
        this.messagestatus = messagestatus;
    }

    public Date getNoticetime() {
        return noticetime;
    }

    public void setNoticetime(Date noticetime) {
        this.noticetime = noticetime;
    }

    public Date getExpiretime() {
        return expiretime;
    }

    public void setExpiretime(Date expiretime) {
        this.expiretime = expiretime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}